class MainForm : public Form
{
    TextBox *txtFilePath;
    TextBox *txtFileNumber;
    ProgressBar *progressBar;

public:
    void Button1_Click()
    {
        ISplitter *splitter = new BinarySplitter(); // 依赖具体类（依赖实现细节有问题）
        splitter->split();
    }
};